package com.house.service;

import com.common.entity.TbCity;
import com.common.entity.house.HouseResource;
import com.common.response.CommonResponse;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HouseResourceService {
    List<TbCity> getCityList(Integer pid);

    PageInfo<HouseResource> getPage(Integer page, Integer size, HouseResource houseResource);

    PageInfo<HouseResource> getRentPage(Integer page, Integer size, HouseResource houseResource);

    CommonResponse updateStatusById(Long id, Integer status);

    CommonResponse delete(Long id);

    CommonResponse insert(HouseResource houseResource,String[] images);

    CommonResponse bingBroker(Long id, Long brokerId);

    CommonResponse insertRent(String[] images, HouseResource houseResource);
}
